package com.my.ph.service;

import com.my.ph.entity.file.FileInfo;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

public interface FileDirectoryService {

    List<FileInfo> getRoot();

    List<FileInfo> getChildren(String path);

    void getTorrent(String filePath, HttpServletResponse response) throws IOException;
}
